<el-form ref="form" :model="form" :rules="rules" label-width="140px">
    <el-row :gutter="10">
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="版本号" prop="GWFBNO">
                <el-input v-model="form.GWFBNO" maxlength="10" :readOnly="!isAdd"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="年度" prop="GWFB001">
                <el-date-picker :editable="false"
                        v-model="form.GWFB001"
                        type="year"
                        value-format="yyyy"
                        style="width:100%;">
                </el-date-picker>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="月份" prop="GWFB002">
                <el-date-picker :editable="false"
                        v-model="form.GWFB002"
                        type="month"
                        format="MM"
                        value-format="MM"
                        style="width:100%;">
                </el-date-picker>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="区域" prop="GWFB003">
                <el-input v-model="form.GWFB003_NAME" readonly clearable>
                    <i class="el-icon-search el-input__icon" @click="openGWAD002" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="客户" prop="GWFB004">
                <el-input v-model="form.GWFB004_NAME" readonly clearable>
                    <i class="el-icon-search el-input__icon" @click="openKh" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="品类" prop="GWFB005">
                <el-input v-model="form.GWFB005_NAME" readonly clearable>
                    <i class="el-icon-search el-input__icon" @click="openGWAO001" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="币别">
                <el-input v-model="form.GWFB100_NAME" readonly clearable>
                    <i class="el-icon-search el-input__icon" @click="openBz" slot="suffix"></i>
                </el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="汇率">
                <el-input v-model="form.GWFB101" @blur="changeGwfb101"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="预测销售原币金额">
                <el-input v-model="form.GWFB102" @blur="changeGwfb102"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="预测销售本币金额">
                <el-input v-model="form.GWFB103" @blur="changeGwfb103"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="区域费率">
                <el-input v-model="form.GWFB104"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="总部费率">
                <el-input v-model="form.GWFB105"></el-input>
            </el-form-item>
        </el-col>

        <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
            <el-form-item label="审核码" prop="GWFBACTI">
                <el-select v-model="form.GWFBACTI" disabled="true">
                    <el-option v-for="item in selectOptions.sys_y_n" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>

        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancel">关闭</el-button>
            <el-button type="warning" icon="icon iconfont icon-21" size="mini" @click="sure">保存</el-button>
        </el-col>
    </el-row>
</el-form>
<script>
    require(["pc/crm/gwft100_edit"], $.noop);
</script>
